import 'package:get/get.dart';

class HomeState {
  late List<Tabs> tabs;

  late RxInt choose;

  HomeState() {
    ///Initialize variables
    tabs = [
      Tabs(0, "全部任务", "0"),
      Tabs(1, "进行中的任务", "0"),
      Tabs(2, "截止的任务", "0"),
      Tabs(3, "已完成任务", "0"),
    ];
    choose = 0.obs;
  }
}

class Tabs {
  late int id;
  late String title;
  late String num;

  Tabs(this.id, this.title, this.num);
}
